#include <iostream>
#include <string>
#include "student.h"
using namespace std;

Student::Student(int n, const char* str, int s) {
	num = n;
	strcpy_s(name, str);
	score = s;
	cout << "constructor" << endl;
}
int Student::print() {
	cout << num << "	" << name << "	" << score << endl;
	return 0;
}
int Student::Set(int n, char* str, int s) {
	num = n;
	strcpy_s(name, str);
	score = s;
	return 0;
}
Student::~Student() {
	cout << num << "	" << name << "	" << score << endl;
	cout << "destructor" << endl;
}